home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / lib.fmt / c / Pfs_OpenConnection.man < prev    next >
Encoding:
Text File  |  1989-05-15  |  3.0 KB  |  135 lines

  1.  
  2.  
  3.  
  4. Pfs_OpenConnection UNKNOWN SECTION (libcalls)  Pfs_OpenConnection
  5.  
  6.  
  7.  
  8. _________________________________________________________________
  9.  
  10. NNAAMMEE
  11.      Pfs_OpenConnection - Create a pseudo-device connection to  a
  12.      pseudo-file-system
  13.  
  14. SSYYNNOOPPSSIISS
  15.      ##iinncclluuddee <<ppddeevv..hh>>
  16.      Pdev_Stream *
  17.      PPffss__OOppeennCCoonnnneeccttiioonn(_p_f_s_T_o_k_e_n, _i_d_S_i_z_e, _i_d_P_t_r, _s_e_r_v_i_c_e)
  18.  
  19. AARRGGUUMMEENNTTSS
  20.      Pfs_Token    *_p_f_s_T_o_k_e_n    (in)      Return value of PPffss__OOppeenn
  21.                                          call.
  22.  
  23.      int          _i_d_S_i_z_e       (in)      Size of the ID.
  24.  
  25.      Address      _i_d_P_t_r        (in)      Pointer to server's name
  26.                                          for this connection.
  27.  
  28.      Pdev_Callbacks            *_s_e_r_v_i_c_e(in)
  29.                                          Array  of  pseudo-device
  30.                                          call-back procedures.
  31.  
  32. _________________________________________________________________
  33.  
  34.  
  35. DDEESSCCRRIIPPTTIIOONN
  36.      PPffss__OOppeennCCoonnnneeccttiioonn is used to establish a pseudo-device con-
  37.      nection  in  response  to  an open request to a pseudo-file-
  38.      system server.  The _p_f_s_T_o_k_e_n argument is the return value of
  39.      the  PPffss__OOppeenn  call  used  to  establish  the  server of the
  40.      pseudo-file-system.  The _i_d_P_t_r references the server's iden-
  41.      tifier  for the pseudo-device connection.  If the file being
  42.      opened is a directory then this  identifier  may  be  passed
  43.      back as the pprreeffiixxIIDD for naming operations that are relative
  44.      to the directory.  The _s_e_r_v_i_c_e argument is a  set  of  call-
  45.      back  procedures  that  are  invoked  by the Pdev library in
  46.      response to subsequent operations  on  the  file.   See  the
  47.      PPddeevv__OOppeenn man page for a description of how these call-backs
  48.      are invoked.  Any of the elements of  _s_e_r_v_i_c_e  can  be  NULL
  49.      pointers  in  which case a default, no-op handler is used by
  50.      the Pdev library.
  51.  
  52.      The return value of PPffss__OOppeennCCoonnnneeccttiioonn is a  token  for  the
  53.      connection.   It  contains the streamID of the server's half
  54.      of the connection on which various I/O controls can be done.
  55.      It also contains a cclliieennttDDaattaa field for use by the caller of
  56.      PPffss__OOppeennCCoonnnneeccttiioonn.  This token is passed into  all  of  the
  57.      pseudo-device service call-backs.
  58.  
  59. SSEEEE AALLSSOO
  60.      Pfs_Open, Pdev_SetHandler, pdev
  61.  
  62.  
  63.  
  64.  
  65. Sprite v.1.0         Printed:  May 14, 1989                     1
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72. Pfs_OpenConnection UNKNOWN SECTION (libcalls)  Pfs_OpenConnection
  73.  
  74.  
  75.  
  76. KKEEYYWWOORRDDSS
  77.      pseudo-device, pseudo-file-system, call-back
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131. Sprite v.1.0         Printed:  May 14, 1989                     2
  132.  
  133.  
  134.  
  135.